<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>重置密码</title>
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/css/user/user-pwd.css">
</head>
<body>
    <!-- 大容器 -->
    <div class="layui-card">
        <!-- 头 -->
        <div class="layui-card-header">修改密码</div>
        <!-- 内容 -->
        <div class="layui-card-body">
            <form class="layui-form" lay-filter="pwd-form">
                <input type="hidden" name="id">
                
                <div class="layui-form-item">
                    <label class="layui-form-label">旧密码</label>
                    <div class="layui-input-block">
                        <input 
                        type="password" 
                        autocomplete="off" 
                        name="oldPwd"
                        class="layui-input"
                        placeholder="请输入旧密码"
                        lay-verify="required|pwd"
                        >
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">新密码</label>
                    <div class="layui-input-block">
                        <input 
                        type="password"
                        autocomplete="off"
                        name="newPwd"
                        class="layui-input"
                        placeholder="请输入新密码"
                        lay-verify="required|pwd|nPwd"
                        >
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">确认新密码</label>
                    <div class="layui-input-block">
                        <input 
                        type="password"
                        autocomplete="off"
                        name="newPwd"
                        class="layui-input"
                        placeholder="请再次确认新密码"
                        lay-verify="required|pwd|rPwb"
                        >
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit>修改密码</button>
                        <button type="reset" class="layui-btn layui-btn-primary" id="reset-btn">重置</button>
                    </div>
                </div>

            </form>
        </div>
    </div>


    <script src="/assets/lib/layui/layui.all.js"></script>
    <script src="/assets/lib/jquery.js"></script>
    <!-- 请求配置 -->
    <script src="/assets/js/BASE_API.js"></script>
    <script src="/assets/js/user/user-pwb.js"></script>
</body>
</html>